<?php
/**
 * Available variables
  [0] => field_pro_bath_value
  [1] => field_pro_beds_value
  [2] => field_pro_availability_value
  [3] => field_pro_availability_value2
  [4] => field_pro_island_nid
  [5] => field_pro_address_value
  [6] => field_pro_sleep_value
  [7] => field_pro_air_con_value
  [8] => field_pro_beach_value
  [9] => field_pro_child_value
  [10] => field_pro_dishwash_value
  [11] => field_pro_handicap_value
  [12] => field_pro_intnet_value
  [13] => field_pro_jacuzzi_value
  [14] => field_pro_laundry_value
  [15] => field_pro_non_smokers_value
  [16] => field_pro_ocean_value
  [17] => field_pro_pool_value
  [18] => field_pro_sleep_value_1
  [19] => field_pro_smokers_value
  [20] => tid
  [21] => submit
  [22] => form_build_id
  [23] => form_token
  [24] => form_id
 */
?>
<div class="bloc-quick-search">
  <h2 id="icon" class="quick"><?php print t('quick property search'); ?></h2>
  <ul class="property clearfix">
    <li>
      <label><?php print t('Islands'); ?></label>
      <?php print $elements['field_pro_island_nid']; ?>
    </li>
    <li>
      <label><?php print t('Location'); ?></label>
      <?php print $elements['field_pro_address_value']; ?>
    </li>
    <li class="checkbox">
      <input type="checkbox" class="dummy">
      <label for="f3"><?php print t('Beach'); ?></label>
      <div class="iamit hide">
        <?php print $elements['field_pro_beach_value']; ?>
      </div>
    </li>
  </ul>
  
  <ul class="property clearfix">
    <li>
      <label><?php print t('Property type'); ?></label>
      <?php print $elements['tid']; ?>
    </li>
    
    <li>
      <label><?php print t('Bathroom'); ?></label>
      <?php print $elements['field_pro_bath_value']; ?>
    </li>
    
    <li>
      <label><?php print t('Beds'); ?></label>
      <?php print $elements['field_pro_beds_value']; ?>
    </li>
    
    <li class="calendar">
      <label><?php print t('Arrival'); ?></label>
      <?php print $elements['field_pro_availability_value']; ?>
    </li>
    
    <li class="calendar">
      <label><?php print t('Departure'); ?></label>
      <?php print $elements['field_pro_availability_value2']; ?>
    </li>
    
    <li class="properties">
      <?php
        print l(t('Advanced search'), 'advanced-search');
        print $elements['submit'];
      ?>
    </li>
  </ul>
</div>

<div style="display:none;">
<?php
  print $elements['field_pro_sleep_value'];
  print $elements['field_pro_air_con_value'];
  print $elements['field_pro_child_value'];
  print $elements['field_pro_dishwash_value'];
  print $elements['field_pro_handicap_value'];
  print $elements['field_pro_intnet_value'];
  print $elements['field_pro_jacuzzi_value'];
  print $elements['field_pro_laundry_value'];
  print $elements['field_pro_non_smokers_value'];
  print $elements['field_pro_ocean_value'];
  print $elements['field_pro_pool_value'];
  print $elements['field_pro_sleep_value_1'];
  print $elements['field_pro_smokers_value'];
  print $elements['form_build_id'];
  print $elements['form_id'];
  print $elements['form_token'];
?>
</div>